Skip to contentSkip to conversation

How to create a shortcut for connecting to internet

Bluez-users adil fulara 2 participants 2 messages Apr 10, 2005 – Apr 11, 2005 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

Hey Bruno,

You are right. i was treating it as bind no. (bind Number), so i was always typing bind 0. neways just tried it out. it works. Thanx alot to u and marcel i have created a shortcut which fires this command and i get connected. How do i disconnect....?

I guess i will have to use KDE System Guard(ctrl+alt+delete) to kill the wvdial process. Any other ways of doing it....?

Thanx alot folks....!!

Cheerio

Adil.

Quoted 66 lines · On Sun, 10 Apr 2005 Bruno Abinader wrote :

bind 0... i think it only can be a "yes/no" answer, not "0/1", but i'm not sure!

Quoted 43 lines

Hi Marcel,

Well i tried doing as u directed but it didnt seem to work.i
guess i am making some mistake.Newa i am putting the contents of /etc/bluetooth/rfcomm.conf file below and also the console out i got after i restarted the bluetooth service.

root@localhost ~]# cat /etc/bluetooth/rfcomm.conf #
# RFCOMM configuration file.
#
# $Id: rfcomm.conf,v 1.1 2002/10/07 05:58:18 maxk Exp $ #

#
# Example:
#
#rfcomm0 {
# # Automatically bind the device at startup
# bind no;
#
# # Bluetooth address of the device
# device 11:22:33:44:55:66;
#
# # RFCOMM channel for the connection
# channel 1;
#
# # Description of the connection
# comment "Example Bluetooth device";
#}

 rfcomm0 {
         bind 0;
         device 00:0F:DE:86:2F:66;
         channel  7;
         }
 [root@localhost ~]# service bluetooth restart
 Stopping Bluetooth services:                              [  OK  ]
 syntax error line 24ervices:                              [  OK  ]

[root@localhost ~]#

Quoted 7 lines

Please Advice...?

where do i put the init script....? am confused....

Thanx..

adil

--
Bruno de Oliveira Abinader
GVoIP - INdT/UFAM

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#1 lore raw

Well, there are a lot of ways, but the 2 that i use most to kill processes are (notice that both are console commands):

1. killall <name_of_the_program> or
2. ps ax | grep <name_of_the_program>
kill -KILL <program_PID>

Quoted 89 lines · adil fulara

Hey Bruno,

You are right. i was treating it as bind no. (bind Number), so
i was always typing bind 0. neways just tried it out. it works. Thanx alot to u and marcel i have created a shortcut which fires this command and i get connected. How do i disconnect....?

I guess i will have to use KDE System Guard(ctrl+alt+delete) to kill the
wvdial process. Any other ways of doing it....?

Thanx alot folks....!!

Cheerio

Adil.

Quoted 1 line · On Sun, 10 Apr 2005 Bruno Abinader wrote :

bind 0... i think it only can be a "yes/no" answer, not "0/1", but i'm not

sure!

Quoted 6 lines
Quoted 6 lines

Hi Marcel,

Well i tried doing as u directed but it didnt seem to work.i
guess i am making some mistake.Newa i am putting the contents of /etc/bluetooth/rfcomm.conf file below and also the console out i got

after i

Quoted 59 lines
Quoted 38 lines

restarted the bluetooth service.

root@localhost ~]# cat /etc/bluetooth/rfcomm.conf #
# RFCOMM configuration file.
#
# $Id: rfcomm.conf,v 1.1 2002/10/07 05:58:18 maxk Exp $ #

#
# Example:
#
#rfcomm0 {
# # Automatically bind the device at startup
# bind no;
#
# # Bluetooth address of the device
# device 11:22:33:44:55:66;
#
# # RFCOMM channel for the connection
# channel 1;
#
# # Description of the connection
# comment "Example Bluetooth device";
#}

 rfcomm0 {
         bind 0;
         device 00:0F:DE:86:2F:66;
         channel  7;
         }
 [root@localhost ~]# service bluetooth restart
 Stopping Bluetooth services:                              [  OK  ]
 syntax error line 24ervices:                              [  OK  ]

[root@localhost ~]#

Quoted 7 lines

Please Advice...?

where do i put the init script....? am confused....

Thanx..

adil

--
Bruno de Oliveira Abinader
GVoIP - INdT/UFAM

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

Signature · 13 lines
Bruno de Oliveira Abinader
GVoIP - INdT/UFAM


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users